using System;
using System.Collections;
using System.Text;

namespace Webbness.Module.VsTool
{
    public class Helpers
    {
        public static string Join(ICollection list, string seperator)
        {
            if (list == null || seperator == null)
            {
                return String.Empty;
            }
            StringBuilder sb = new StringBuilder();
            int i = 0;
            foreach (object o in list)
            {
                if (i > 0)
                {
                    sb.Append(seperator);
                }
                sb.Append(o.ToString());
                i++;
            }
            return sb.ToString();
        }
    }
}